package com.example.xxpk.service.boxes;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.xxpk.pojo.BoxRewardTypes;
import com.example.xxpk.pojo.Boxes;
import com.example.xxpk.pojo.PurchaseRecord;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zhangguihong
 * @since 2025-02-13
 */
public interface IBoxesService extends IService<Boxes> {

    boolean addPurchaseBoxes(PurchaseRecord purchaseRecord);

    boolean addPurchaseSuperBoxes(PurchaseRecord purchaseRecord);

    BoxRewardTypes openBox(Integer userId, Integer type);
}
